sparse_direct_solve Interface

public interface sparse_direct_solve

Module Procedures

private pure function csr_solve_sparse_direct(a, b, droptol) result(x)

Solves a linear system using a direct method.

Arguments

Type IntentOptional Attributes Name
class(csr_matrix), intent(in) :: a

The matrix.

real(kind=real64), intent(in), dimension(:) :: b

The right-hand side.

real(kind=real64), intent(in), optional :: droptol

The drop tolerance for the ILUT factorization.

Return Value real(kind=real64), allocatable, dimension(:)

The solution.